show running-config
This command displays the device's current configuration.
Syntax
show running-config
Command |
Description |
---|---|
(Carriage Return) |
Displays the device's full configuration in the format of a CLI command script. You can copy and paste the displayed output in a text-based file (e.g., using Notepad), and then upload the file to another device, or the same device if you want to make configuration changes, as a CLI script file. |
> <URL Destination> |
Sends the device's configuration in CLI script format, as a file to a remote destination defined by a URL (TFTP, HTTP or HTTPS). |
full [> <URL Destination>] |
Displays the device's configuration as well as default configuration settings that were not actively set by the user. In regular mode, only configuration that is not equal to the default is displayed. Can also send the configuration in CLI script format, as a file to a remote destination defined by a URL (TFTP, HTTP or HTTPS). |
network |
Displays the device's network configuration (config-network). |
system |
Displays the device's system configuration (config-system). |
troubleshoot |
Displays the device's troubleshoot configuration (config-troubleshoot). |
voip |
Displays the device's VoIP configuration (config-voip). |
Command Mode
Basic and Privileged User
Note
■ | The Local Users table (in which management users are configured, as described in user) is included in the output of this command only if you are in Privileged User command mode. |
■ | You can also run this command from any other command, using the do command, for example: |
(clock)# do show running-config
Example
This example sends the device's configuration to an HTTP server:
show running-config> http://10.9.9.9